package com.tx.admin.entity.rbac;

import javax.persistence.Entity;

import com.tx.admin.annotation.JpaKey;
import com.tx.admin.entity.SuperEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Entity
@Data
public class UserEntity extends SuperEntity{

	@ApiModelProperty("用户名")
	private String userName;
	@ApiModelProperty("密码")
	private String password;
	
	//角色id集合
	@ApiModelProperty("角色编号集合")
	private String roleIds;
	
	//部门
	@ApiModelProperty("所属部门")
	private String departmentId;
	
	private String salt;
}
